package cn.yzgy.yzgyoa.ucenter.constrant;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 权限类型定义
 * @author Yqsen
 * @since 2019-8-20 09:29:16
 */
@SuppressWarnings("unused")
public enum PermissionType {

    // 权限分类信息
    GROUP(0, "GROUP"),
    API(1, "API"),
    VIEW(2, "VIEW"),
    BUTTON(3, "BUTTON");

    @EnumValue
    int typeId;
    String typeName;

    PermissionType(int typeId, String typeName){
        this.typeId = typeId;
        this.typeName = typeName;
    }

}
